package com.example.market_management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.market_management.model.Product;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface productMapper  extends BaseMapper<Product> {
    List<Product> byTypeQuery(String productType);
    List<Product> queryByName(String productName);
}
